<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui">
    <f:view>
        <h:head>
            <meta name="viewport" content="width=device-width, initial-scale=1.0" />
            <title><ui:insert name="title">e-BookShop</ui:insert></title>
            <base href="#{request.requestURL.substring(0, request.requestURL.length() - request.requestURI.length())}#{request.contextPath}/" />
        </h:head>
        <h:body>
            <h:outputStylesheet name="css/jsfcrud.css"/>
            <h:outputStylesheet name="css/bootstrap.css"/>
            <h:outputStylesheet name="css/bookshop.css"/>
            <div class="container bookshop-container">
                <div class="masthead">
                    <div class="logo">
                        <img src="images/logo_2.png" width="200" height="80" alt="Logo eBookShop"/>
                    </div>

                        <ui:include src="components/loginCart.xhtml" /> <!-- login & cart -->

                    <div class="navbar">
                        <div class="navbar-inner">
                            <div class="container">
                                <ui:include src="components/navBar.xhtml" />
                                <ui:include src="components/navSearch.xhtml" />
                            </div>
                        </div>
                    </div><!-- /.navbar -->
                </div><!-- /.header -->
                <ui:insert name="body">Default Body</ui:insert>
                <hr style="clear: both; visibility: hidden; margin: 0; padding: 0;" />
                <div class="mastfoot">
                    <p>&copy; e-BookShop 2013 - Prototype e-Commerce réalisé par Caroline, Romain, Samir et Thibault</p>
                </div><!-- /.footer -->
            </div>
            <!--<script src="http://code.jquery.com/jquery.js"></script>-->
            <script src="./resources/js/bootstrap.js"></script>
        </h:body>
    </f:view>
</html>
